var img1 = document.querySelector("#img1");
var img2 = document.querySelector("#img2");


var n11 = 320;
var t1 = setInterval(function(){
	img1.style.left = n11 + "px";
	n11--;
	if(n11 == -320){
		n11 = 320;
	}
})

var n2 = 0;
var t2 = setInterval(function(){
	img2.style.left = n2 + "px";
	n2--;
	if(n2 == -320){
		n2 = 320;
	}
})


